package pumpeddevs.game.wishbone.stage1;

import pumpeddevs.game.framework.PDActivity;
import pumpeddevs.game.framework.PDStage;
import pumpeddevs.game.wishbone.R;
import pumpeddevs.game.wishbone.sprites.GenericSprite;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.Canvas;

public class Stage1 extends PDStage{
	private GenericSprite _loadingBackGroud;
	
	public Stage1(PDActivity context, int width, int height) {
		super(context, width, height);
		
		this._loadingBackGroud = new GenericSprite(context, R.drawable.loadingbackground);
//		Bitmap bitmap = Bitmap.createScaledBitmap(this._loadingBackGroud.getBitmap(), width, height, true);
		this._loadingBackGroud.setBitmap(Bitmap.createScaledBitmap(this._loadingBackGroud.getBitmap(), width, height, true));
		this._loadingBackGroud.setCoordinate(0, 0);
		
	}

	@Override
	public void init() {
		// TODO Auto-generated method stub
		
	}

	@Override
	protected void render(Canvas canvas) {
		this._loadingBackGroud.render(canvas);
		
	}

	@Override
	protected void updatePhysics() {
		// TODO Auto-generated method stub
		
	}

}
